home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / kernel / lfs / lfsDescMapInt.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-12-19  |  1.6 KB  |  49 lines

  1. /*
  2.  * lfsDescMapInt.h --
  3.  *
  4.  *    Declarations of LFS descriptor map routines and data structures
  5.  *    private to the Lfs module.
  6.  *
  7.  * Copyright 1989 Regents of the University of California
  8.  * Permission to use, copy, modify, and distribute this
  9.  * software and its documentation for any purpose and without
  10.  * fee is hereby granted, provided that the above copyright
  11.  * notice appear in all copies.  The University of California
  12.  * makes no representations about the suitability of this
  13.  * software for any purpose.  It is provided "as is" without
  14.  * express or implied warranty.
  15.  *
  16.  * $Header: /cdrom/src/kernel/Cvsroot/kernel/lfs/lfsDescMapInt.h,v 1.3 92/09/03 18:13:25 shirriff Exp $ SPRITE (Berkeley)
  17.  */
  18.  
  19. #ifndef _LFSDESCMAPINT
  20. #define _LFSDESCMAPINT
  21.  
  22. #include <lfsDescMap.h>
  23. #include <lfsStableMemInt.h>
  24.  
  25. /* constants */
  26.  
  27. /* data structures */
  28.  
  29. /* procedures */
  30. extern void LfsDescMapInit _ARGS_((void));
  31.  
  32. extern void LfsDescCacheInit _ARGS_((struct Lfs *lfsPtr));
  33. extern ReturnStatus LfsDescMapGetVersion _ARGS_((struct Lfs *lfsPtr,
  34.             int fileNumber, unsigned short *versionNumPtr));
  35. extern ReturnStatus LfsDescMapIncVersion _ARGS_((struct Lfs *lfsPtr, 
  36.             int fileNumber, int *versionPtr));
  37. extern ReturnStatus LfsDescMapGetDiskAddr _ARGS_((struct Lfs *lfsPtr, 
  38.             int fileNumber, LfsDiskAddr *diskAddrPtr));
  39. extern ReturnStatus LfsDescMapSetDiskAddr _ARGS_((struct Lfs *lfsPtr, 
  40.             int fileNumber, LfsDiskAddr diskAddr));
  41. extern ReturnStatus LfsDescMapGetAccessTime _ARGS_((struct Lfs *lfsPtr,
  42.             int fileNumber, int *accessTimePtr));
  43. extern ReturnStatus LfsDescMapSetAccessTime _ARGS_((struct Lfs *lfsPtr, 
  44.             int fileNumber, int accessTime));
  45.  
  46.  
  47. #endif /* _LFSDESCMAPINT */
  48.  
  49.